package com.itheima.user.mapper;



import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface SetmealMapper {
    /**
     * 查询所有套餐信息
     * @return
     */
    @Select("select * from t_setmeal")
    List<Setmeal> findAll();

    /**
     * 根据id查询套餐信息
     * @param id
     * @return
     */
    Setmeal findById(Integer id);
}
